package com.jdyinfo.ic.mysql.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.jdyinfo.ic.mysql.entity.UpTownPeriod;

@Mapper
public interface UpTownPeriodMapper {
	
	List<UpTownPeriod> findUpTownPeriodByUpTownId(@Param("upTownId") int upTownId);
	
	int insertOne(UpTownPeriod upTownPeriod);
	
	int updateOne(UpTownPeriod upTownPeriod);
	
	int deleteOne(@Param("id") int id);

}
